<?php 
while ( have_posts() ) {
				the_post();
?>
<article class="post">
  <header><h2><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2></header>
  <section class="summary">
    <div class="media">
    	<?php 
				if ( has_post_thumbnail() ) {
					the_post_thumbnail();
				} else {
			?>
        <a class="pull-left" href="#">
          <img class="media-object" src="<?php echo get_template_directory_uri(); ?>/images/default.jpg" alt="Tin 1">
        </a>
      <?php } ?>
      <div class="media-body">
        <?php the_excerpt(); ?>
        <a href="<?php the_permalink(); ?>" class="readmore">Xem tiếp</a>
      </div>
    </div>
    
  </section>
</article>
<?php } ?>